package com.symphony.accesslevels.second;

import java.io.FileNotFoundException;
import java.io.IOException;

import com.symphony.accesslevels.first.First;

public class Second extends First {
	public void firstProtcted() {
		
	}
	
	public void firstProtcted(int a) throws Exception {
		
	}

	public Integer secondProtcted1(int a, int b) {

		return null;
	}
	
	public Short secondProtcted(int a, int b) {
		return null;
	}
	
	private void someMethod() {
//		firstProtcted();
//		firstPackageAccess(); does not compile - different packeges
		First first = new First();
		first.firstPublic();
		
		//does not compile
//		first.firstProtected();
//		first.firstPackageAccess();
		
		//compiles fine
		System.out.println(x);
		
		//does not compile
//		System.out.println(first.x);
	}
	
}
